#ifndef PSGLMODEL_H
#define PSGLMODEL_H

#include "psglobject.h"
#include <QtOpenGL>
class PSGLModel
{
public:

    QList<PSGLObject> objects;
    double** bonds;
    double** ropes;

    void addObject(PSGLObject newObject);
    void deleteObjectByName(QString p_name);

    PSGLModel();
    void renderFrame(GLint frameNumber, bool draw_planet, bool draw_tr, bool draw_text);
    void renderBonds(GLint frameNumber);
    void renderRopes(GLint frameNumber);
};

#endif // PSGLMODEL_H
